﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Remove : MonoBehaviour
{
    public Object[] @object;

    public void Invoke()
    {
        for (int i = 0; i < @object.Length; i++)
        {
            Destroy(@object[i]);
        }
    }
}
